package com.xzm.service.impl;

/**
 * @author 3052
 * @create 2020-07-26 21:00
 */

import com.xzm.service.IUserService;

import java.util.Date;
import java.util.Map;

public class UserServiceImpl implements IUserService {

    private String name;
    private Integer age;
    private Date birthday;
    private Map<String,String> myMap;

    public UserServiceImpl(String name, Integer age, Date birthday,Map<String,String> myMap) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.myMap=myMap;
    }

    public UserServiceImpl(){
        System.out.println("用户创建了！");
    }
    private int i=0;
    public void saveUser() {
        System.out.println("用户得到保存！");
        System.out.println(name+" "+age+" "+birthday);
        System.out.println(myMap);
    }

}
